package com.goldsprite.gameframeworks.shaders;

import com.goldsprite.gameframeworks.utils.math.Vector2;

public class LightSource {
	public Vector2 position = new Vector2();
	public float lightIntensity = 1.0f;
	public int colorIndex = 0; // 暂时只有0=纯白
	public Vector2 velocity = new Vector2();

	public LightSource() {}

	public LightSource(float x, float y, int colorIndex, float lightIntensity) {
		this.position.set(x, y);
		this.colorIndex = colorIndex;
		this.lightIntensity = lightIntensity;
	}
}
